package signals;

import java.net.InetAddress;

/**
 * @author Miren / Mikael
 *
 */

public class SendText extends Signal {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String message ;
	private InetAddress[] receivers ;
	
	/**
	 * Create a new instance of SendText.
	 * 
	 * @param message The text of the message
	 * @param receivers Users that will receive this message, may be null if all users receive the message
	 */
	public SendText(String message, InetAddress[] receivers) {
		super();
		this.message = message;
		this.receivers = receivers ;
	}

	/**
	 * @return
	 */
	public String getMessage () {
		return message;
	}
	
	/**
	 * @return
	 */
	public InetAddress[] getReceivers () {
		return this.receivers ;
	}

}
